package Tree;

/**
 * 作者:hfj
 * 功能:树的基本数据结构
 * 日期: 2025/10/23 21:35
 */
public class TreeNode {
    int val;

    TreeNode left;
    TreeNode right;

    TreeNode(){}

    TreeNode(int val){
        this.val = val;
    }

    TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
